package com.helei.test;

public class MyThread extends Thread {
    public void run() {
        System.out.println("Thread is running...");
    }


    public static void main(String[] args) {
        MyThread t1 = new MyThread();
        t1.start(); // 启动线程
    }
}
